package com.goktech.sportsmall.mapper;

import com.goktech.sportsmall.bean.AddressBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AddressMapper {
    // 添加地址
    int insertAddress(AddressBean addressBean);
    // 查询地址信息
    List<AddressBean> selectAddress();
    // 删除地址信息
    int deleteAddress(int a_id);
    // 修改地址信息
    int updateAddress(AddressBean addressBean);
}
